import request from 'utils/request';
export const findFightRecords = (
  params: Api.params<'/patrol-admin/project/fight/findFightRecords'>,
): Promise<Api.resBody['作战指挥记录'][]> => {
  return request({
    url: '/patrol-admin/project/fight/findFightRecords',
    method: 'get',
    params,
  });
};
export const findFightPage = (
  params: Api.params<'/patrol-admin/project/fight/page'>,
): Promise<Api.resBody['响应«分页数据«作战指挥表»»']['data']> => {
  return request({
    url: '/patrol-admin/project/fight/page',
    method: 'get',
    params,
  });
};
export const getPagePolice = (): Promise<Api.resBody['警情信息主表'][]> => {
  return request({
    url: '/patrol-admin/ds-incident-web/pagePolice',
    method: 'get',
  });
};
export const getFireFacilityLocationData = (
  params: Api.params<'/patrol-admin/patrol/fire/facility/getFireFacilityLocationData'>,
): Promise<Api.resBody['响应«List«消防设施表»»']['data']> => {
  return request({
    url: '/patrol-admin/patrol/fire/facility/getFireFacilityLocationData',
    method: 'get',
    params,
  });
};
